/**
 * Created by Administrator on 2016/1/27.
 */
(function($){
    "use strict";
    var server = "http://localhost:8080/jhpt/";
    var staticPath = "http://localhost:8080/jhpt/static/";
    //var server = "http://120.26.109.166/jhpt/";
    //var staticPath = "http://120.26.109.166/jh/";
    $.router = {
        server : server,
        staticPath : staticPath,
        module : {
            //获取当前用户的菜单信息
            queryLogin : server +'module/query/login',
            //获取单个菜单信息
            queryById  :  server +'module/query/id/',
            layout  :  server +'module/layout/',
            operation : server +'module/find/bar'

        },
        html : {
            index : staticPath + 'index.html',
            login : staticPath + 'login.html'
        },
        logout :  server + "logout",
        login :  server + "login",
        kaptcha : server + "kaptcha",
        index : server + "index",
        loginOut : server + "loginOut",
        analysis : server + "analysis",
        anaydownload :  server + "anaydownload",
        uploadSwf : staticPath + 'js/uploadify/uploadify.swf',
        upload : server + 'encl/uploadSJ',
        fujiandownload :  server + "encl/download",
        fxd:{
        	saveUser:server + "fxjz/config/user/save",
        	removeUser:server + "fxjz/config/user/remove",
        	saveDept:server + "fxjz/config/dept/save",
        	removeDept:server + "fxjz/config/dept/remove",
        }
    };
})(jQuery);